package com.lsm.searchservice.service;

import com.hmall.common.pojo.dto.PageDTO;
import com.lsm.searchservice.pojo.ItemDoc;
import com.lsm.searchservice.pojo.dto.FiltersDto;

import java.util.List;
import java.util.Map;
import java.util.Set;

public interface SearchService {

    Map<String, List<String>> filters(FiltersDto filtersDto);

    PageDTO<ItemDoc> list(FiltersDto filtersDto);

    List<String> suggestion(String key);
}
